Termination w.r.t. Q of the following Term Rewriting System could not be shown:

Q restricted rewrite system:
The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

Q is empty.


QTRS
  ↳ Non-Overlap Check

Q restricted rewrite system:
The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

Q is empty.

The TRS is non-overlapping. Hence, we can switch to innermost.

↳ QTRS
  ↳ Non-Overlap Check
QTRS
      ↳ DependencyPairsProof

Q restricted rewrite system:
The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

The set Q consists of the following terms:

eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
le2(0, x0)
le2(s1(x0), 0)
le2(s1(x0), s1(x1))
min1(cons2(0, nil))
min1(cons2(s1(x0), nil))
min1(cons2(x0, cons2(x1, x2)))
if_min2(true, cons2(x0, cons2(x1, x2)))
if_min2(false, cons2(x0, cons2(x1, x2)))
replace3(x0, x1, nil)
replace3(x0, x1, cons2(x2, x3))
if_replace4(true, x0, x1, cons2(x2, x3))
if_replace4(false, x0, x1, cons2(x2, x3))
sort1(nil)
sort1(cons2(x0, x1))


Q DP problem:
The TRS P consists of the following rules:

REPLACE3(n, m, cons2(k, x)) -> IF_REPLACE4(eq2(n, k), n, m, cons2(k, x))
EQ2(s1(n), s1(m)) -> EQ2(n, m)
SORT1(cons2(n, x)) -> REPLACE3(min1(cons2(n, x)), n, x)
MIN1(cons2(n, cons2(m, x))) -> LE2(n, m)
LE2(s1(n), s1(m)) -> LE2(n, m)
SORT1(cons2(n, x)) -> MIN1(cons2(n, x))
REPLACE3(n, m, cons2(k, x)) -> EQ2(n, k)
SORT1(cons2(n, x)) -> SORT1(replace3(min1(cons2(n, x)), n, x))
IF_MIN2(true, cons2(n, cons2(m, x))) -> MIN1(cons2(n, x))
MIN1(cons2(n, cons2(m, x))) -> IF_MIN2(le2(n, m), cons2(n, cons2(m, x)))
IF_MIN2(false, cons2(n, cons2(m, x))) -> MIN1(cons2(m, x))
IF_REPLACE4(false, n, m, cons2(k, x)) -> REPLACE3(n, m, x)

The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

The set Q consists of the following terms:

eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
le2(0, x0)
le2(s1(x0), 0)
le2(s1(x0), s1(x1))
min1(cons2(0, nil))
min1(cons2(s1(x0), nil))
min1(cons2(x0, cons2(x1, x2)))
if_min2(true, cons2(x0, cons2(x1, x2)))
if_min2(false, cons2(x0, cons2(x1, x2)))
replace3(x0, x1, nil)
replace3(x0, x1, cons2(x2, x3))
if_replace4(true, x0, x1, cons2(x2, x3))
if_replace4(false, x0, x1, cons2(x2, x3))
sort1(nil)
sort1(cons2(x0, x1))

We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ Non-Overlap Check
    ↳ QTRS
      ↳ DependencyPairsProof
QDP
          ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

REPLACE3(n, m, cons2(k, x)) -> IF_REPLACE4(eq2(n, k), n, m, cons2(k, x))
EQ2(s1(n), s1(m)) -> EQ2(n, m)
SORT1(cons2(n, x)) -> REPLACE3(min1(cons2(n, x)), n, x)
MIN1(cons2(n, cons2(m, x))) -> LE2(n, m)
LE2(s1(n), s1(m)) -> LE2(n, m)
SORT1(cons2(n, x)) -> MIN1(cons2(n, x))
REPLACE3(n, m, cons2(k, x)) -> EQ2(n, k)
SORT1(cons2(n, x)) -> SORT1(replace3(min1(cons2(n, x)), n, x))
IF_MIN2(true, cons2(n, cons2(m, x))) -> MIN1(cons2(n, x))
MIN1(cons2(n, cons2(m, x))) -> IF_MIN2(le2(n, m), cons2(n, cons2(m, x)))
IF_MIN2(false, cons2(n, cons2(m, x))) -> MIN1(cons2(m, x))
IF_REPLACE4(false, n, m, cons2(k, x)) -> REPLACE3(n, m, x)

The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

The set Q consists of the following terms:

eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
le2(0, x0)
le2(s1(x0), 0)
le2(s1(x0), s1(x1))
min1(cons2(0, nil))
min1(cons2(s1(x0), nil))
min1(cons2(x0, cons2(x1, x2)))
if_min2(true, cons2(x0, cons2(x1, x2)))
if_min2(false, cons2(x0, cons2(x1, x2)))
replace3(x0, x1, nil)
replace3(x0, x1, cons2(x2, x3))
if_replace4(true, x0, x1, cons2(x2, x3))
if_replace4(false, x0, x1, cons2(x2, x3))
sort1(nil)
sort1(cons2(x0, x1))

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph contains 5 SCCs with 4 less nodes.

↳ QTRS
  ↳ Non-Overlap Check
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
QDP
                ↳ QDPAfsSolverProof
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

LE2(s1(n), s1(m)) -> LE2(n, m)

The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

The set Q consists of the following terms:

eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
le2(0, x0)
le2(s1(x0), 0)
le2(s1(x0), s1(x1))
min1(cons2(0, nil))
min1(cons2(s1(x0), nil))
min1(cons2(x0, cons2(x1, x2)))
if_min2(true, cons2(x0, cons2(x1, x2)))
if_min2(false, cons2(x0, cons2(x1, x2)))
replace3(x0, x1, nil)
replace3(x0, x1, cons2(x2, x3))
if_replace4(true, x0, x1, cons2(x2, x3))
if_replace4(false, x0, x1, cons2(x2, x3))
sort1(nil)
sort1(cons2(x0, x1))

We have to consider all minimal (P,Q,R)-chains.
By using an argument filtering and a montonic ordering, at least one Dependency Pair of this SCC can be strictly oriented.

LE2(s1(n), s1(m)) -> LE2(n, m)
Used argument filtering: LE2(x1, x2)  =  x2
s1(x1)  =  s1(x1)
Used ordering: Quasi Precedence: trivial


↳ QTRS
  ↳ Non-Overlap Check
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
                ↳ QDPAfsSolverProof
QDP
                    ↳ PisEmptyProof
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP

Q DP problem:
P is empty.
The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

The set Q consists of the following terms:

eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
le2(0, x0)
le2(s1(x0), 0)
le2(s1(x0), s1(x1))
min1(cons2(0, nil))
min1(cons2(s1(x0), nil))
min1(cons2(x0, cons2(x1, x2)))
if_min2(true, cons2(x0, cons2(x1, x2)))
if_min2(false, cons2(x0, cons2(x1, x2)))
replace3(x0, x1, nil)
replace3(x0, x1, cons2(x2, x3))
if_replace4(true, x0, x1, cons2(x2, x3))
if_replace4(false, x0, x1, cons2(x2, x3))
sort1(nil)
sort1(cons2(x0, x1))

We have to consider all minimal (P,Q,R)-chains.
The TRS P is empty. Hence, there is no (P,Q,R) chain.

↳ QTRS
  ↳ Non-Overlap Check
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
QDP
                ↳ QDPAfsSolverProof
              ↳ QDP
              ↳ QDP
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

IF_MIN2(true, cons2(n, cons2(m, x))) -> MIN1(cons2(n, x))
MIN1(cons2(n, cons2(m, x))) -> IF_MIN2(le2(n, m), cons2(n, cons2(m, x)))
IF_MIN2(false, cons2(n, cons2(m, x))) -> MIN1(cons2(m, x))

The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

The set Q consists of the following terms:

eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
le2(0, x0)
le2(s1(x0), 0)
le2(s1(x0), s1(x1))
min1(cons2(0, nil))
min1(cons2(s1(x0), nil))
min1(cons2(x0, cons2(x1, x2)))
if_min2(true, cons2(x0, cons2(x1, x2)))
if_min2(false, cons2(x0, cons2(x1, x2)))
replace3(x0, x1, nil)
replace3(x0, x1, cons2(x2, x3))
if_replace4(true, x0, x1, cons2(x2, x3))
if_replace4(false, x0, x1, cons2(x2, x3))
sort1(nil)
sort1(cons2(x0, x1))

We have to consider all minimal (P,Q,R)-chains.
By using an argument filtering and a montonic ordering, at least one Dependency Pair of this SCC can be strictly oriented.

IF_MIN2(true, cons2(n, cons2(m, x))) -> MIN1(cons2(n, x))
IF_MIN2(false, cons2(n, cons2(m, x))) -> MIN1(cons2(m, x))
Used argument filtering: IF_MIN2(x1, x2)  =  x2
cons2(x1, x2)  =  cons1(x2)
MIN1(x1)  =  x1
le2(x1, x2)  =  le
0  =  0
true  =  true
s1(x1)  =  s
false  =  false
Used ordering: Quasi Precedence: [le, true] > false


↳ QTRS
  ↳ Non-Overlap Check
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
                ↳ QDPAfsSolverProof
QDP
                    ↳ DependencyGraphProof
              ↳ QDP
              ↳ QDP
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

MIN1(cons2(n, cons2(m, x))) -> IF_MIN2(le2(n, m), cons2(n, cons2(m, x)))

The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

The set Q consists of the following terms:

eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
le2(0, x0)
le2(s1(x0), 0)
le2(s1(x0), s1(x1))
min1(cons2(0, nil))
min1(cons2(s1(x0), nil))
min1(cons2(x0, cons2(x1, x2)))
if_min2(true, cons2(x0, cons2(x1, x2)))
if_min2(false, cons2(x0, cons2(x1, x2)))
replace3(x0, x1, nil)
replace3(x0, x1, cons2(x2, x3))
if_replace4(true, x0, x1, cons2(x2, x3))
if_replace4(false, x0, x1, cons2(x2, x3))
sort1(nil)
sort1(cons2(x0, x1))

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph contains 0 SCCs with 1 less node.

↳ QTRS
  ↳ Non-Overlap Check
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
QDP
                ↳ QDPAfsSolverProof
              ↳ QDP
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

EQ2(s1(n), s1(m)) -> EQ2(n, m)

The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

The set Q consists of the following terms:

eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
le2(0, x0)
le2(s1(x0), 0)
le2(s1(x0), s1(x1))
min1(cons2(0, nil))
min1(cons2(s1(x0), nil))
min1(cons2(x0, cons2(x1, x2)))
if_min2(true, cons2(x0, cons2(x1, x2)))
if_min2(false, cons2(x0, cons2(x1, x2)))
replace3(x0, x1, nil)
replace3(x0, x1, cons2(x2, x3))
if_replace4(true, x0, x1, cons2(x2, x3))
if_replace4(false, x0, x1, cons2(x2, x3))
sort1(nil)
sort1(cons2(x0, x1))

We have to consider all minimal (P,Q,R)-chains.
By using an argument filtering and a montonic ordering, at least one Dependency Pair of this SCC can be strictly oriented.

EQ2(s1(n), s1(m)) -> EQ2(n, m)
Used argument filtering: EQ2(x1, x2)  =  x2
s1(x1)  =  s1(x1)
Used ordering: Quasi Precedence: trivial


↳ QTRS
  ↳ Non-Overlap Check
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ QDPAfsSolverProof
QDP
                    ↳ PisEmptyProof
              ↳ QDP
              ↳ QDP

Q DP problem:
P is empty.
The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

The set Q consists of the following terms:

eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
le2(0, x0)
le2(s1(x0), 0)
le2(s1(x0), s1(x1))
min1(cons2(0, nil))
min1(cons2(s1(x0), nil))
min1(cons2(x0, cons2(x1, x2)))
if_min2(true, cons2(x0, cons2(x1, x2)))
if_min2(false, cons2(x0, cons2(x1, x2)))
replace3(x0, x1, nil)
replace3(x0, x1, cons2(x2, x3))
if_replace4(true, x0, x1, cons2(x2, x3))
if_replace4(false, x0, x1, cons2(x2, x3))
sort1(nil)
sort1(cons2(x0, x1))

We have to consider all minimal (P,Q,R)-chains.
The TRS P is empty. Hence, there is no (P,Q,R) chain.

↳ QTRS
  ↳ Non-Overlap Check
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
QDP
                ↳ QDPAfsSolverProof
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

REPLACE3(n, m, cons2(k, x)) -> IF_REPLACE4(eq2(n, k), n, m, cons2(k, x))
IF_REPLACE4(false, n, m, cons2(k, x)) -> REPLACE3(n, m, x)

The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

The set Q consists of the following terms:

eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
le2(0, x0)
le2(s1(x0), 0)
le2(s1(x0), s1(x1))
min1(cons2(0, nil))
min1(cons2(s1(x0), nil))
min1(cons2(x0, cons2(x1, x2)))
if_min2(true, cons2(x0, cons2(x1, x2)))
if_min2(false, cons2(x0, cons2(x1, x2)))
replace3(x0, x1, nil)
replace3(x0, x1, cons2(x2, x3))
if_replace4(true, x0, x1, cons2(x2, x3))
if_replace4(false, x0, x1, cons2(x2, x3))
sort1(nil)
sort1(cons2(x0, x1))

We have to consider all minimal (P,Q,R)-chains.
By using an argument filtering and a montonic ordering, at least one Dependency Pair of this SCC can be strictly oriented.

IF_REPLACE4(false, n, m, cons2(k, x)) -> REPLACE3(n, m, x)
Used argument filtering: REPLACE3(x1, x2, x3)  =  x3
cons2(x1, x2)  =  cons1(x2)
IF_REPLACE4(x1, x2, x3, x4)  =  x4
eq2(x1, x2)  =  eq
0  =  0
true  =  true
s1(x1)  =  s
false  =  false
Used ordering: Quasi Precedence: [eq, false] > true


↳ QTRS
  ↳ Non-Overlap Check
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
                ↳ QDPAfsSolverProof
QDP
                    ↳ DependencyGraphProof
              ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

REPLACE3(n, m, cons2(k, x)) -> IF_REPLACE4(eq2(n, k), n, m, cons2(k, x))

The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

The set Q consists of the following terms:

eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
le2(0, x0)
le2(s1(x0), 0)
le2(s1(x0), s1(x1))
min1(cons2(0, nil))
min1(cons2(s1(x0), nil))
min1(cons2(x0, cons2(x1, x2)))
if_min2(true, cons2(x0, cons2(x1, x2)))
if_min2(false, cons2(x0, cons2(x1, x2)))
replace3(x0, x1, nil)
replace3(x0, x1, cons2(x2, x3))
if_replace4(true, x0, x1, cons2(x2, x3))
if_replace4(false, x0, x1, cons2(x2, x3))
sort1(nil)
sort1(cons2(x0, x1))

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph contains 0 SCCs with 1 less node.

↳ QTRS
  ↳ Non-Overlap Check
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ QDP
              ↳ QDP
              ↳ QDP
              ↳ QDP
QDP

Q DP problem:
The TRS P consists of the following rules:

SORT1(cons2(n, x)) -> SORT1(replace3(min1(cons2(n, x)), n, x))

The TRS R consists of the following rules:

eq2(0, 0) -> true
eq2(0, s1(m)) -> false
eq2(s1(n), 0) -> false
eq2(s1(n), s1(m)) -> eq2(n, m)
le2(0, m) -> true
le2(s1(n), 0) -> false
le2(s1(n), s1(m)) -> le2(n, m)
min1(cons2(0, nil)) -> 0
min1(cons2(s1(n), nil)) -> s1(n)
min1(cons2(n, cons2(m, x))) -> if_min2(le2(n, m), cons2(n, cons2(m, x)))
if_min2(true, cons2(n, cons2(m, x))) -> min1(cons2(n, x))
if_min2(false, cons2(n, cons2(m, x))) -> min1(cons2(m, x))
replace3(n, m, nil) -> nil
replace3(n, m, cons2(k, x)) -> if_replace4(eq2(n, k), n, m, cons2(k, x))
if_replace4(true, n, m, cons2(k, x)) -> cons2(m, x)
if_replace4(false, n, m, cons2(k, x)) -> cons2(k, replace3(n, m, x))
sort1(nil) -> nil
sort1(cons2(n, x)) -> cons2(min1(cons2(n, x)), sort1(replace3(min1(cons2(n, x)), n, x)))

The set Q consists of the following terms:

eq2(0, 0)
eq2(0, s1(x0))
eq2(s1(x0), 0)
eq2(s1(x0), s1(x1))
le2(0, x0)
le2(s1(x0), 0)
le2(s1(x0), s1(x1))
min1(cons2(0, nil))
min1(cons2(s1(x0), nil))
min1(cons2(x0, cons2(x1, x2)))
if_min2(true, cons2(x0, cons2(x1, x2)))
if_min2(false, cons2(x0, cons2(x1, x2)))
replace3(x0, x1, nil)
replace3(x0, x1, cons2(x2, x3))
if_replace4(true, x0, x1, cons2(x2, x3))
if_replace4(false, x0, x1, cons2(x2, x3))
sort1(nil)
sort1(cons2(x0, x1))

We have to consider all minimal (P,Q,R)-chains.